Title: Add Text to The Emails Body

Publish Date: Fri, 01 Dec 2017 09:00:57 +0000

Categories: Uncategorized

Content:

In WooCommerce, with every order, comes one or more emails. WooCommerce sends automatically to the shop manager or to the customer, depending on the current step of the purchase process and they have some pre-defined messages.



These messages change based on the email sent and there are no options to change them. Sometimes you may need to add more text to all emails, such as a notice that says that the order is an online order. How do you do this?







Guess what? Custom code!





Open the file functions.php in wp-content/themes/your-child-theme-name/ and add this code at the end of the file:




https://gist.github.com/SiR-DanieL/4e244a32a3ec15b8ae13644ce62fef69




This will add the specified content right after the header section of the email but before any pre-defined content.
